[INFO] cloning repository https://github.com/evdzhurov/raft-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/evdzhurov/raft-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevdzhurov%2Fraft-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevdzhurov%2Fraft-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 12ec76806d044b571847324247e20b1345b8fb18
[INFO] fixing evdzhurov/raft-rs against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevdzhurov%2Fraft-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/evdzhurov/raft-rs
[INFO] finished tweaking git repo https://github.com/evdzhurov/raft-rs
[INFO] tweaked toml for git repo https://github.com/evdzhurov/raft-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/evdzhurov/raft-rs on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/evdzhurov/raft-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-serde v0.9.0
[INFO] [stderr]   Downloaded educe v0.5.11
[INFO] [stderr]   Downloaded serde_json v1.0.147
[INFO] [stderr]   Downloaded tarpc-plugins v0.14.1
[INFO] [stderr]   Downloaded zmij v0.1.7
[INFO] [stderr]   Downloaded opentelemetry v0.30.0
[INFO] [stderr]   Downloaded tarpc v0.37.0
[INFO] [stderr]   Downloaded opentelemetry-semantic-conventions v0.30.0
[INFO] [stderr]   Downloaded tracing-opentelemetry v0.31.0
[INFO] [stderr]   Downloaded opentelemetry_sdk v0.30.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e2e4741fcc0a662177d12cd8a372a5b94d38bddeca4833d96914e47258410441
[INFO] running `Command { std: "docker" "start" "e2e4741fcc0a662177d12cd8a372a5b94d38bddeca4833d96914e47258410441", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e2e4741fcc0a662177d12cd8a372a5b94d38bddeca4833d96914e47258410441" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2e4741fcc0a662177d12cd8a372a5b94d38bddeca4833d96914e47258410441", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e2e4741fcc0a662177d12cd8a372a5b94d38bddeca4833d96914e47258410441" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling serde_json v1.0.147
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking zmij v0.1.7
[INFO] [stderr]     Checking itoa v1.0.16
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking clap_builder v4.5.53
[INFO] [stderr]     Checking humantime v2.3.0
[INFO] [stderr]     Checking opentelemetry-semantic-conventions v0.30.0
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling enum-ordinalize-derive v4.3.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling tarpc-plugins v0.14.1
[INFO] [stderr]    Compiling enum-ordinalize v4.3.2
[INFO] [stderr]    Compiling educe v0.5.11
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking opentelemetry v0.30.0
[INFO] [stderr]     Checking clap v4.5.53
[INFO] [stderr]     Checking tokio-serde v0.9.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking opentelemetry_sdk v0.30.0
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tracing-opentelemetry v0.31.0
[INFO] [stderr]     Checking tarpc v0.37.0
[INFO] [stderr]     Checking raft-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::sm::Application`
[INFO] [stdout]  --> src/consensus.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     sm::{Application, StateMachine},
[INFO] [stdout]   |          ^^^^^^^^^^^ no `Application` in `sm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::sm::Application`
[INFO] [stdout]  --> src/consensus.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     sm::{Application, StateMachine},
[INFO] [stdout]   |          ^^^^^^^^^^^ no `Application` in `sm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Server` in this scope
[INFO] [stdout]   --> src/main.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let server = Server::new(args.node_id, config);
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Server`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout]  9 + use crate::server::Server;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash::Hash`
[INFO] [stdout]  --> src/consensus.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     hash::Hash,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tarpc::client::new`
[INFO] [stdout]   --> src/consensus.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tarpc::client::new;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Node`
[INFO] [stdout]   --> src/main.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     node::{ClusterConfig, Node},
[INFO] [stdout]    |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Server` in this scope
[INFO] [stdout]   --> src/main.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let server = Server::new(args.node_id, config);
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Server`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout]  9 + use crate::server::Server;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash::Hash`
[INFO] [stdout]  --> src/consensus.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     hash::Hash,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tarpc::client::new`
[INFO] [stdout]   --> src/consensus.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tarpc::client::new;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Node`
[INFO] [stdout]   --> src/main.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     node::{ClusterConfig, Node},
[INFO] [stdout]    |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]   --> src/node.rs:57:36
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let consensus = Consensus::new(id, peer_ids, sm);
[INFO] [stdout]    |                                    ^^^ private associated function
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/consensus.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn new(id: i32, peer_ids: Vec<i32>, server: &'a dyn Server, sm: &'a dyn StateMachine) -> Self {
[INFO] [stdout]    |     --------------------------------------------------------------------------------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/node.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let consensus = Consensus::new(id, peer_ids, sm);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^               -- argument #3 of type `&dyn server::Server` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/consensus.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn new(id: i32, peer_ids: Vec<i32>, server: &'a dyn Server, sm: &'a dyn StateMachine) -> Self {
[INFO] [stdout]    |        ^^^                              ----------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let consensus = Consensus::new(id, peer_ids, /* &dyn server::Server */, sm);
[INFO] [stdout]    |                                                      ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/consensus.rs:247:26
[INFO] [stdout]     |
[INFO] [stdout] 247 |                 entries: entries,
[INFO] [stdout]     |                          ^^^^^^^ expected `Vec<LogEntry>`, found `&[LogEntry]`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<LogEntry>`
[INFO] [stdout]             found reference `&[LogEntry]`
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 247 |                 entries: entries.to_vec(),
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]   --> src/node.rs:57:36
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let consensus = Consensus::new(id, peer_ids, sm);
[INFO] [stdout]    |                                    ^^^ private associated function
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/consensus.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn new(id: i32, peer_ids: Vec<i32>, server: &'a dyn Server, sm: &'a dyn StateMachine) -> Self {
[INFO] [stdout]    |     --------------------------------------------------------------------------------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/kv.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         todo!();
[INFO] [stdout]    |         ------- any code following this expression is unreachable
[INFO] [stdout] 18 |         None
[INFO] [stdout]    |         ^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/node.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let consensus = Consensus::new(id, peer_ids, sm);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^               -- argument #3 of type `&dyn server::Server` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/consensus.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn new(id: i32, peer_ids: Vec<i32>, server: &'a dyn Server, sm: &'a dyn StateMachine) -> Self {
[INFO] [stdout]    |        ^^^                              ----------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let consensus = Consensus::new(id, peer_ids, /* &dyn server::Server */, sm);
[INFO] [stdout]    |                                                      ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `RequestVote: serde::Serialize` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:5:27
[INFO] [stdout]      |
[INFO] [stdout]    5 |     async fn request_vote(req: RequestVote) -> RequestVoteReply;
[INFO] [stdout]      |                           ^^^-------------
[INFO] [stdout]      |                           |
[INFO] [stdout]      |                           unsatisfied trait bound
[INFO] [stdout]      |                           required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `RequestVote`
[INFO] [stdout]     --> src/messages.rs:3:1
[INFO] [stdout]      |
[INFO] [stdout]    3 | pub struct RequestVote {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `RequestVote` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 145 others
[INFO] [stdout] note: required by a bound in `node::_::_serde::ser::SerializeStructVariant::serialize_field`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1987:21
[INFO] [stdout]      |
[INFO] [stdout] 1985 |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 1986 |     where
[INFO] [stdout] 1987 |         T: ?Sized + Serialize;
[INFO] [stdout]      |                     ^^^^^^^^^ required by this bound in `SerializeStructVariant::serialize_field`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppendEntries: serde::Serialize` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:6:29
[INFO] [stdout]      |
[INFO] [stdout]    6 |     async fn append_entries(req: AppendEntries) -> AppendEntriesReply;
[INFO] [stdout]      |                             ^^^---------------
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             unsatisfied trait bound
[INFO] [stdout]      |                             required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `AppendEntries`
[INFO] [stdout]     --> src/messages.rs:24:1
[INFO] [stdout]      |
[INFO] [stdout]   24 | pub struct AppendEntries {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `AppendEntries` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 145 others
[INFO] [stdout] note: required by a bound in `node::_::_serde::ser::SerializeStructVariant::serialize_field`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1987:21
[INFO] [stdout]      |
[INFO] [stdout] 1985 |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 1986 |     where
[INFO] [stdout] 1987 |         T: ?Sized + Serialize;
[INFO] [stdout]      |                     ^^^^^^^^^ required by this bound in `SerializeStructVariant::serialize_field`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `RequestVote: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:5:32
[INFO] [stdout]      |
[INFO] [stdout]    5 |     async fn request_vote(req: RequestVote) -> RequestVoteReply;
[INFO] [stdout]      |                                ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `RequestVote`
[INFO] [stdout]     --> src/messages.rs:3:1
[INFO] [stdout]      |
[INFO] [stdout]    3 | pub struct RequestVote {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RequestVote` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 161 others
[INFO] [stdout] note: required by a bound in `next_element`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12
[INFO] [stdout]      |
[INFO] [stdout] 1769 |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stdout]      |        ------------ required by a bound in this associated function
[INFO] [stdout] 1770 |     where
[INFO] [stdout] 1771 |         T: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-36ec8a3b5ae02a10.long-type-5746267827469689214.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `RequestVote: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:5:32
[INFO] [stdout]      |
[INFO] [stdout]    5 |     async fn request_vote(req: RequestVote) -> RequestVoteReply;
[INFO] [stdout]      |                                ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `RequestVote`
[INFO] [stdout]     --> src/messages.rs:3:1
[INFO] [stdout]      |
[INFO] [stdout]    3 | pub struct RequestVote {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RequestVote` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 161 others
[INFO] [stdout] note: required by a bound in `next_value`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12
[INFO] [stdout]      |
[INFO] [stdout] 1914 |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stdout]      |        ---------- required by a bound in this associated function
[INFO] [stdout] 1915 |     where
[INFO] [stdout] 1916 |         V: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-36ec8a3b5ae02a10.long-type-5746267827469689214.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `RequestVote: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]   --> src/rpc.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | #[tarpc::service]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `RequestVote`
[INFO] [stdout]   --> src/messages.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct RequestVote {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RequestVote` type
[INFO] [stdout]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]              &'a Path
[INFO] [stdout]              &'a [u8]
[INFO] [stdout]              &'a str
[INFO] [stdout]              ()
[INFO] [stdout]              (T,)
[INFO] [stdout]              (T0, T1)
[INFO] [stdout]              (T0, T1, T2)
[INFO] [stdout]              (T0, T1, T2, T3)
[INFO] [stdout]            and 161 others
[INFO] [stdout] note: required by a bound in `node::_::_serde::__private228::de::missing_field`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/private/de.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stdout]    |        ------------- required by a bound in this function
[INFO] [stdout] 25 | where
[INFO] [stdout] 26 |     V: Deserialize<'de>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-36ec8a3b5ae02a10.long-type-5746267827469689214.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the derive macro `::tarpc::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/consensus.rs:247:26
[INFO] [stdout]     |
[INFO] [stdout] 247 |                 entries: entries,
[INFO] [stdout]     |                          ^^^^^^^ expected `Vec<LogEntry>`, found `&[LogEntry]`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<LogEntry>`
[INFO] [stdout]             found reference `&[LogEntry]`
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 247 |                 entries: entries.to_vec(),
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppendEntries: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:6:34
[INFO] [stdout]      |
[INFO] [stdout]    6 |     async fn append_entries(req: AppendEntries) -> AppendEntriesReply;
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `AppendEntries`
[INFO] [stdout]     --> src/messages.rs:24:1
[INFO] [stdout]      |
[INFO] [stdout]   24 | pub struct AppendEntries {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AppendEntries` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 161 others
[INFO] [stdout] note: required by a bound in `next_element`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12
[INFO] [stdout]      |
[INFO] [stdout] 1769 |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stdout]      |        ------------ required by a bound in this associated function
[INFO] [stdout] 1770 |     where
[INFO] [stdout] 1771 |         T: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-36ec8a3b5ae02a10.long-type-5746267827469689214.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/kv.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         todo!();
[INFO] [stdout]    |         ------- any code following this expression is unreachable
[INFO] [stdout] 18 |         None
[INFO] [stdout]    |         ^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppendEntries: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:6:34
[INFO] [stdout]      |
[INFO] [stdout]    6 |     async fn append_entries(req: AppendEntries) -> AppendEntriesReply;
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `AppendEntries`
[INFO] [stdout]     --> src/messages.rs:24:1
[INFO] [stdout]      |
[INFO] [stdout]   24 | pub struct AppendEntries {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AppendEntries` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 161 others
[INFO] [stdout] note: required by a bound in `next_value`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12
[INFO] [stdout]      |
[INFO] [stdout] 1914 |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stdout]      |        ---------- required by a bound in this associated function
[INFO] [stdout] 1915 |     where
[INFO] [stdout] 1916 |         V: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-36ec8a3b5ae02a10.long-type-5746267827469689214.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppendEntries: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]   --> src/rpc.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | #[tarpc::service]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `AppendEntries`
[INFO] [stdout]   --> src/messages.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct AppendEntries {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AppendEntries` type
[INFO] [stdout]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]              &'a Path
[INFO] [stdout]              &'a [u8]
[INFO] [stdout]              &'a str
[INFO] [stdout]              ()
[INFO] [stdout]              (T,)
[INFO] [stdout]              (T0, T1)
[INFO] [stdout]              (T0, T1, T2)
[INFO] [stdout]              (T0, T1, T2, T3)
[INFO] [stdout]            and 161 others
[INFO] [stdout] note: required by a bound in `node::_::_serde::__private228::de::missing_field`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/private/de.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stdout]    |        ------------- required by a bound in this function
[INFO] [stdout] 25 | where
[INFO] [stdout] 26 |     V: Deserialize<'de>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-36ec8a3b5ae02a10.long-type-5746267827469689214.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the derive macro `::tarpc::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `RequestVoteReply: serde::Serialize` is not satisfied
[INFO] [stdout]    --> src/rpc.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 | #[tarpc::service]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]   4 | pub trait RaftRpc {
[INFO] [stdout]   5 |     async fn request_vote(req: RequestVote) -> RequestVoteReply;
[INFO] [stdout]     |                                                ---------------- required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `RequestVoteReply`
[INFO] [stdout]    --> src/messages.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout]  11 | pub struct RequestVoteReply {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Serialize)]` to your `RequestVoteReply` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]     = help: the following other types implement trait `Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]             and 145 others
[INFO] [stdout] note: required by a bound in `serialize_newtype_variant`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:958:21
[INFO] [stdout]     |
[INFO] [stdout] 950 |     fn serialize_newtype_variant<T>(
[INFO] [stdout]     |        ------------------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 958 |         T: ?Sized + Serialize;
[INFO] [stdout]     |                     ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_variant`
[INFO] [stdout]     = note: this error originates in the derive macro `::tarpc::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppendEntriesReply: serde::Serialize` is not satisfied
[INFO] [stdout]    --> src/rpc.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 | #[tarpc::service]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout] ...
[INFO] [stdout]   6 |     async fn append_entries(req: AppendEntries) -> AppendEntriesReply;
[INFO] [stdout]     |                                                    ------------------ required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `AppendEntriesReply`
[INFO] [stdout]    --> src/messages.rs:34:1
[INFO] [stdout]     |
[INFO] [stdout]  34 | pub struct AppendEntriesReply {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Serialize)]` to your `AppendEntriesReply` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]     = help: the following other types implement trait `Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]             and 145 others
[INFO] [stdout] note: required by a bound in `serialize_newtype_variant`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:958:21
[INFO] [stdout]     |
[INFO] [stdout] 950 |     fn serialize_newtype_variant<T>(
[INFO] [stdout]     |        ------------------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 958 |         T: ?Sized + Serialize;
[INFO] [stdout]     |                     ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_variant`
[INFO] [stdout]     = note: this error originates in the derive macro `::tarpc::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `RequestVote: serde::Serialize` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:5:27
[INFO] [stdout]      |
[INFO] [stdout]    5 |     async fn request_vote(req: RequestVote) -> RequestVoteReply;
[INFO] [stdout]      |                           ^^^-------------
[INFO] [stdout]      |                           |
[INFO] [stdout]      |                           unsatisfied trait bound
[INFO] [stdout]      |                           required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `RequestVote`
[INFO] [stdout]     --> src/messages.rs:3:1
[INFO] [stdout]      |
[INFO] [stdout]    3 | pub struct RequestVote {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `RequestVote` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 145 others
[INFO] [stdout] note: required by a bound in `node::_::_serde::ser::SerializeStructVariant::serialize_field`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1987:21
[INFO] [stdout]      |
[INFO] [stdout] 1985 |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 1986 |     where
[INFO] [stdout] 1987 |         T: ?Sized + Serialize;
[INFO] [stdout]      |                     ^^^^^^^^^ required by this bound in `SerializeStructVariant::serialize_field`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `RequestVoteReply: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:5:48
[INFO] [stdout]      |
[INFO] [stdout]    5 |     async fn request_vote(req: RequestVote) -> RequestVoteReply;
[INFO] [stdout]      |                                                ^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `RequestVoteReply`
[INFO] [stdout]     --> src/messages.rs:11:1
[INFO] [stdout]      |
[INFO] [stdout]   11 | pub struct RequestVoteReply {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RequestVoteReply` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 161 others
[INFO] [stdout] note: required by a bound in `newtype_variant`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:2182:12
[INFO] [stdout]      |
[INFO] [stdout] 2180 |     fn newtype_variant<T>(self) -> Result<T, Self::Error>
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 2181 |     where
[INFO] [stdout] 2182 |         T: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `VariantAccess::newtype_variant`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-36ec8a3b5ae02a10.long-type-5746267827469689214.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppendEntries: serde::Serialize` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:6:29
[INFO] [stdout]      |
[INFO] [stdout]    6 |     async fn append_entries(req: AppendEntries) -> AppendEntriesReply;
[INFO] [stdout]      |                             ^^^---------------
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             unsatisfied trait bound
[INFO] [stdout]      |                             required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `AppendEntries`
[INFO] [stdout]     --> src/messages.rs:24:1
[INFO] [stdout]      |
[INFO] [stdout]   24 | pub struct AppendEntries {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `AppendEntries` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 145 others
[INFO] [stdout] note: required by a bound in `node::_::_serde::ser::SerializeStructVariant::serialize_field`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1987:21
[INFO] [stdout]      |
[INFO] [stdout] 1985 |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 1986 |     where
[INFO] [stdout] 1987 |         T: ?Sized + Serialize;
[INFO] [stdout]      |                     ^^^^^^^^^ required by this bound in `SerializeStructVariant::serialize_field`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppendEntriesReply: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:6:52
[INFO] [stdout]      |
[INFO] [stdout]    6 |     async fn append_entries(req: AppendEntries) -> AppendEntriesReply;
[INFO] [stdout]      |                                                    ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `AppendEntriesReply`
[INFO] [stdout]     --> src/messages.rs:34:1
[INFO] [stdout]      |
[INFO] [stdout]   34 | pub struct AppendEntriesReply {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AppendEntriesReply` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 161 others
[INFO] [stdout] note: required by a bound in `newtype_variant`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:2182:12
[INFO] [stdout]      |
[INFO] [stdout] 2180 |     fn newtype_variant<T>(self) -> Result<T, Self::Error>
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 2181 |     where
[INFO] [stdout] 2182 |         T: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `VariantAccess::newtype_variant`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-36ec8a3b5ae02a10.long-type-5746267827469689214.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `RequestVote: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:5:32
[INFO] [stdout]      |
[INFO] [stdout]    5 |     async fn request_vote(req: RequestVote) -> RequestVoteReply;
[INFO] [stdout]      |                                ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `RequestVote`
[INFO] [stdout]     --> src/messages.rs:3:1
[INFO] [stdout]      |
[INFO] [stdout]    3 | pub struct RequestVote {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RequestVote` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 161 others
[INFO] [stdout] note: required by a bound in `next_element`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12
[INFO] [stdout]      |
[INFO] [stdout] 1769 |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stdout]      |        ------------ required by a bound in this associated function
[INFO] [stdout] 1770 |     where
[INFO] [stdout] 1771 |         T: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-55cb35e9a700f703.long-type-13732137618174973299.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `RequestVote: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:5:32
[INFO] [stdout]      |
[INFO] [stdout]    5 |     async fn request_vote(req: RequestVote) -> RequestVoteReply;
[INFO] [stdout]      |                                ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `RequestVote`
[INFO] [stdout]     --> src/messages.rs:3:1
[INFO] [stdout]      |
[INFO] [stdout]    3 | pub struct RequestVote {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RequestVote` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 161 others
[INFO] [stdout] note: required by a bound in `next_value`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12
[INFO] [stdout]      |
[INFO] [stdout] 1914 |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stdout]      |        ---------- required by a bound in this associated function
[INFO] [stdout] 1915 |     where
[INFO] [stdout] 1916 |         V: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-55cb35e9a700f703.long-type-13732137618174973299.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]   --> src/main.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let consensus = Consensus::new(args.node_id);
[INFO] [stdout]    |                                ^^^ private associated function
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/consensus.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn new(id: i32, peer_ids: Vec<i32>, server: &'a dyn Server, sm: &'a dyn StateMachine) -> Self {
[INFO] [stdout]    |     --------------------------------------------------------------------------------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let consensus = Consensus::new(args.node_id);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^-------------- three arguments of type `Vec<i32>`, `&dyn server::Server`, and `&dyn StateMachine` are missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/consensus.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn new(id: i32, peer_ids: Vec<i32>, server: &'a dyn Server, sm: &'a dyn StateMachine) -> Self {
[INFO] [stdout]    |        ^^^          ------------------  ----------------------  ------------------------
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let consensus = Consensus::new(args.node_id, /* Vec<i32> */, /* &dyn server::Server */, /* &dyn StateMachine */);
[INFO] [stdout]    |                                                ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Log`
[INFO] [stdout]  --> src/consensus.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{Log, error, info};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `RequestVote: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]   --> src/rpc.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | #[tarpc::service]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `RequestVote`
[INFO] [stdout]   --> src/messages.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct RequestVote {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RequestVote` type
[INFO] [stdout]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]              &'a Path
[INFO] [stdout]              &'a [u8]
[INFO] [stdout]              &'a str
[INFO] [stdout]              ()
[INFO] [stdout]              (T,)
[INFO] [stdout]              (T0, T1)
[INFO] [stdout]              (T0, T1, T2)
[INFO] [stdout]              (T0, T1, T2, T3)
[INFO] [stdout]            and 161 others
[INFO] [stdout] note: required by a bound in `node::_::_serde::__private228::de::missing_field`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/private/de.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stdout]    |        ------------- required by a bound in this function
[INFO] [stdout] 25 | where
[INFO] [stdout] 26 |     V: Deserialize<'de>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-55cb35e9a700f703.long-type-13732137618174973299.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the derive macro `::tarpc::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppendEntries: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:6:34
[INFO] [stdout]      |
[INFO] [stdout]    6 |     async fn append_entries(req: AppendEntries) -> AppendEntriesReply;
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `AppendEntries`
[INFO] [stdout]     --> src/messages.rs:24:1
[INFO] [stdout]      |
[INFO] [stdout]   24 | pub struct AppendEntries {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AppendEntries` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 161 others
[INFO] [stdout] note: required by a bound in `next_element`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12
[INFO] [stdout]      |
[INFO] [stdout] 1769 |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stdout]      |        ------------ required by a bound in this associated function
[INFO] [stdout] 1770 |     where
[INFO] [stdout] 1771 |         T: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-55cb35e9a700f703.long-type-13732137618174973299.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppendEntries: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:6:34
[INFO] [stdout]      |
[INFO] [stdout]    6 |     async fn append_entries(req: AppendEntries) -> AppendEntriesReply;
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `AppendEntries`
[INFO] [stdout]     --> src/messages.rs:24:1
[INFO] [stdout]      |
[INFO] [stdout]   24 | pub struct AppendEntries {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AppendEntries` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 161 others
[INFO] [stdout] note: required by a bound in `next_value`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12
[INFO] [stdout]      |
[INFO] [stdout] 1914 |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stdout]      |        ---------- required by a bound in this associated function
[INFO] [stdout] 1915 |     where
[INFO] [stdout] 1916 |         V: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-55cb35e9a700f703.long-type-13732137618174973299.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/kv.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn get_value(&self, key: &String) -> Option<String> {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/kv.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn set_value(&self, key: &String) {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/kv.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn del_key(&self, key: &String) {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]   --> src/kv.rs:31:29
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn apply_command(&self, cmd: Vec<u8>) {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppendEntries: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]   --> src/rpc.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | #[tarpc::service]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `AppendEntries`
[INFO] [stdout]   --> src/messages.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct AppendEntries {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AppendEntries` type
[INFO] [stdout]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]              &'a Path
[INFO] [stdout]              &'a [u8]
[INFO] [stdout]              &'a str
[INFO] [stdout]              ()
[INFO] [stdout]              (T,)
[INFO] [stdout]              (T0, T1)
[INFO] [stdout]              (T0, T1, T2)
[INFO] [stdout]              (T0, T1, T2, T3)
[INFO] [stdout]            and 161 others
[INFO] [stdout] note: required by a bound in `node::_::_serde::__private228::de::missing_field`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/private/de.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stdout]    |        ------------- required by a bound in this function
[INFO] [stdout] 25 | where
[INFO] [stdout] 26 |     V: Deserialize<'de>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-55cb35e9a700f703.long-type-13732137618174973299.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the derive macro `::tarpc::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `RequestVoteReply: serde::Serialize` is not satisfied
[INFO] [stdout]    --> src/rpc.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 | #[tarpc::service]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]   4 | pub trait RaftRpc {
[INFO] [stdout]   5 |     async fn request_vote(req: RequestVote) -> RequestVoteReply;
[INFO] [stdout]     |                                                ---------------- required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `RequestVoteReply`
[INFO] [stdout]    --> src/messages.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout]  11 | pub struct RequestVoteReply {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Serialize)]` to your `RequestVoteReply` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]     = help: the following other types implement trait `Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]             and 145 others
[INFO] [stdout] note: required by a bound in `serialize_newtype_variant`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:958:21
[INFO] [stdout]     |
[INFO] [stdout] 950 |     fn serialize_newtype_variant<T>(
[INFO] [stdout]     |        ------------------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 958 |         T: ?Sized + Serialize;
[INFO] [stdout]     |                     ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_variant`
[INFO] [stdout]     = note: this error originates in the derive macro `::tarpc::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppendEntriesReply: serde::Serialize` is not satisfied
[INFO] [stdout]    --> src/rpc.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 | #[tarpc::service]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout] ...
[INFO] [stdout]   6 |     async fn append_entries(req: AppendEntries) -> AppendEntriesReply;
[INFO] [stdout]     |                                                    ------------------ required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `AppendEntriesReply`
[INFO] [stdout]    --> src/messages.rs:34:1
[INFO] [stdout]     |
[INFO] [stdout]  34 | pub struct AppendEntriesReply {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Serialize)]` to your `AppendEntriesReply` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]     = help: the following other types implement trait `Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]             and 145 others
[INFO] [stdout] note: required by a bound in `serialize_newtype_variant`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:958:21
[INFO] [stdout]     |
[INFO] [stdout] 950 |     fn serialize_newtype_variant<T>(
[INFO] [stdout]     |        ------------------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 958 |         T: ?Sized + Serialize;
[INFO] [stdout]     |                     ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_variant`
[INFO] [stdout]     = note: this error originates in the derive macro `::tarpc::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raft-rs` (bin "raft-rs" test) due to 19 previous errors; 15 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `peer`
[INFO] [stdout]   --> src/node.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         peer: i32,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_peer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/node.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         req: &crate::messages::RequestVote,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer`
[INFO] [stdout]   --> src/node.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         peer: i32,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_peer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/node.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         req: &crate::messages::AppendEntries,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/node.rs:86:54
[INFO] [stdout]    |
[INFO] [stdout] 86 |     async fn request_vote(self, _: context::Context, req: RequestVote) -> RequestVoteReply {
[INFO] [stdout]    |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/node.rs:89:56
[INFO] [stdout]    |
[INFO] [stdout] 89 |     async fn append_entries(self, _: context::Context, req: AppendEntries) -> AppendEntriesReply {
[INFO] [stdout]    |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `RequestVoteReply: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:5:48
[INFO] [stdout]      |
[INFO] [stdout]    5 |     async fn request_vote(req: RequestVote) -> RequestVoteReply;
[INFO] [stdout]      |                                                ^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `RequestVoteReply`
[INFO] [stdout]     --> src/messages.rs:11:1
[INFO] [stdout]      |
[INFO] [stdout]   11 | pub struct RequestVoteReply {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `RequestVoteReply` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 161 others
[INFO] [stdout] note: required by a bound in `newtype_variant`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:2182:12
[INFO] [stdout]      |
[INFO] [stdout] 2180 |     fn newtype_variant<T>(self) -> Result<T, Self::Error>
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 2181 |     where
[INFO] [stdout] 2182 |         T: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `VariantAccess::newtype_variant`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-55cb35e9a700f703.long-type-13732137618174973299.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `AppendEntriesReply: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/rpc.rs:6:52
[INFO] [stdout]      |
[INFO] [stdout]    6 |     async fn append_entries(req: AppendEntries) -> AppendEntriesReply;
[INFO] [stdout]      |                                                    ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `AppendEntriesReply`
[INFO] [stdout]     --> src/messages.rs:34:1
[INFO] [stdout]      |
[INFO] [stdout]   34 | pub struct AppendEntriesReply {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AppendEntriesReply` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 161 others
[INFO] [stdout] note: required by a bound in `newtype_variant`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:2182:12
[INFO] [stdout]      |
[INFO] [stdout] 2180 |     fn newtype_variant<T>(self) -> Result<T, Self::Error>
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 2181 |     where
[INFO] [stdout] 2182 |         T: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `VariantAccess::newtype_variant`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/raft_rs-55cb35e9a700f703.long-type-13732137618174973299.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]   --> src/main.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let consensus = Consensus::new(args.node_id);
[INFO] [stdout]    |                                ^^^ private associated function
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/consensus.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn new(id: i32, peer_ids: Vec<i32>, server: &'a dyn Server, sm: &'a dyn StateMachine) -> Self {
[INFO] [stdout]    |     --------------------------------------------------------------------------------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let consensus = Consensus::new(args.node_id);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^-------------- three arguments of type `Vec<i32>`, `&dyn server::Server`, and `&dyn StateMachine` are missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/consensus.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn new(id: i32, peer_ids: Vec<i32>, server: &'a dyn Server, sm: &'a dyn StateMachine) -> Self {
[INFO] [stdout]    |        ^^^          ------------------  ----------------------  ------------------------
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let consensus = Consensus::new(args.node_id, /* Vec<i32> */, /* &dyn server::Server */, /* &dyn StateMachine */);
[INFO] [stdout]    |                                                ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Log`
[INFO] [stdout]  --> src/consensus.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{Log, error, info};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0433, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/kv.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn get_value(&self, key: &String) -> Option<String> {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/kv.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn set_value(&self, key: &String) {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/kv.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn del_key(&self, key: &String) {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]   --> src/kv.rs:31:29
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn apply_command(&self, cmd: Vec<u8>) {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer`
[INFO] [stdout]   --> src/node.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         peer: i32,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_peer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/node.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         req: &crate::messages::RequestVote,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer`
[INFO] [stdout]   --> src/node.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         peer: i32,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_peer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/node.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         req: &crate::messages::AppendEntries,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/node.rs:86:54
[INFO] [stdout]    |
[INFO] [stdout] 86 |     async fn request_vote(self, _: context::Context, req: RequestVote) -> RequestVoteReply {
[INFO] [stdout]    |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/node.rs:89:56
[INFO] [stdout]    |
[INFO] [stdout] 89 |     async fn append_entries(self, _: context::Context, req: AppendEntries) -> AppendEntriesReply {
[INFO] [stdout]    |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0433, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raft-rs` (bin "raft-rs") due to 19 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e2e4741fcc0a662177d12cd8a372a5b94d38bddeca4833d96914e47258410441", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2e4741fcc0a662177d12cd8a372a5b94d38bddeca4833d96914e47258410441", kill_on_drop: false }`
[INFO] [stdout] e2e4741fcc0a662177d12cd8a372a5b94d38bddeca4833d96914e47258410441
